package com.wm.wmim.connect.ws.service;

import com.wm.wmim.connect.sdk.onmessage.bo.resp.SendMessageCommonRespBO;
import com.wm.wmim.connect.ws.rpcinvoke.OnMessageRpcInvokeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author weiming
 * @date 2024/12/24 10:32
 * @description
 */
@Service
public class OnMessageService {

    @Resource
    private OnMessageRpcInvokeService onMessageRpcInvokeService;

    public SendMessageCommonRespBO onMessage(String businessScene, Map<String, Object> attributes, String payload) {
        return onMessageRpcInvokeService.onMessage(businessScene, attributes, payload);
    }
}
